package com.ruoyi.ob.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购订单执行对象 purchase_order_execution
 * 
 * @author ruoyi
 * @date 2025-06-18
 */
public class PurchaseOrderExecution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderId;

    /** 实际到货数量 */
    @Excel(name = "实际到货数量")
    private Long actualQuantity;

    /** 执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date executionTime;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operator;

    /** 执行记录编号 */
    @Excel(name = "执行记录编号")
    private String executionId;

    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }

    public void setActualQuantity(Long actualQuantity) 
    {
        this.actualQuantity = actualQuantity;
    }

    public Long getActualQuantity() 
    {
        return actualQuantity;
    }

    public void setExecutionTime(Date executionTime) 
    {
        this.executionTime = executionTime;
    }

    public Date getExecutionTime() 
    {
        return executionTime;
    }

    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }

    public void setExecutionId(String executionId) 
    {
        this.executionId = executionId;
    }

    public String getExecutionId() 
    {
        return executionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("actualQuantity", getActualQuantity())
            .append("executionTime", getExecutionTime())
            .append("operator", getOperator())
            .append("createTime", getCreateTime())
            .append("executionId", getExecutionId())
            .toString();
    }
}
